<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>站酷（ZCOOL）-发现更好的设计</title>
		<link rel="stylesheet" type="text/css" href="../font/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="../css/designMove.css"/>
		<link rel="shortcut icon" type="image/x-icon" href="https//static.zcool.cn/git_z/z/site/favicon.ico?version=1594723186721">
		<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_1944589_fn2x0qpeby8.css">
	</head>
	<body>
		<header>
			<div class="header-nav">
				<img src="https://static.zcool.cn/git_z/z/common/images/svg/logo.svg" >
				<div class="download">
					<span>下载APP</span>
					<div class="more"></div>
				</div>
			</div>
			<div class="hide">
				<ul>
					<li><i class="iconfont">&#xe502;</i>搜索</li>
					<li><i class="iconfont">&#xe731;</i>登录/注册</li>
				</ul>
			</div>
		</header>
		<div class="container"></div>

	</body>
	<script src="../js/homeData.m.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var info = [{"objImg":"https://img.zcool.cn/community/event_cover/4b185efeaab40000017548373b57.jpg","event_title":"「Just Smart Life」蔡司智锐镜片系列包装设计大赛","tongjiBar_state":"进行中，剩余32天","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/5cf85efdb45f0000017548d07bf2.jpg","event_title":"「COLOR YOUR PHONE 绽放无边界」OPPO主题设计大赛","tongjiBar_state":"进行中，剩余13天","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/8b2c5ef191c2000001465ecb9e56.jpg","event_title":"「勇敢·无畏·自信 敢创由你」哪吒汽车原创IP征集大赛","tongjiBar_state":"进行中，剩余6天","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/7fba5edf45c1000001202fec3a2d.jpg","event_title":"「设计持久战」杰士邦持久系列产品视觉设计大赛","tongjiBar_state":"进行中，剩余14小时","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/7dcd5ee6e01b0000012404597ab0.jpg","event_title":"「小英雄·大创造」英雄联盟云顶之弈·小小英雄IP形象设计大赛","tongjiBar_state":"进行中，剩余9天","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/64a75ef59412000001465eaabad7.jpg","event_title":"「国潮熊猫当道·执意中国制造」<东方胖丸>熊猫国潮创作大赛","tongjiBar_state":"进行中，剩余12天","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/89f85ee715450000012404c3e290.jpg","event_title":"「ILLUSTRATION AWARDS 2020」乐划锁屏插画大赛","tongjiBar_state":"进行中，剩余2天","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/6d3d5f02bfd10000017548710070.jpg","event_title":"「若来新文创·中国设计有力量」IP形象设计大赛","tongjiBar_state":"进行中，剩余29天","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/20445ec4f1140000014e68e58b4d.jpg","event_title":"「山海九黎·文创新光」【腾讯互娱光子工作室群X蚩尤九黎城】主题设定创意设计大赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/3c785ea8f3700000012c2a4de4fa.jpg","event_title":"「美学新想象」华为全球主题设计大赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/4d565e9810a7000001510c9310af.jpg","event_title":"2020寻找VANS艺术家 有奖征集活动","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/22665e8ffa780000012e67f53f07.jpg","event_title":"「POPColour a豆潮流有色」品牌IP形象创作大赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/8b775e689a1a0000011f3fdd3f93.jpg","event_title":"益起来 绘精彩 - 体彩吉祥物征集","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/339b5e6b2cad0000011f3f9ae0a7.jpg","event_title":"「创想未来·HACK IN FUTURE」iQOO概念手机创作大赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/43615e6de9470000011f3f9289a5.jpg","event_title":"万物皆可盘 - OPPO Watch 表盘设计大赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/24f15e9465d5000001510c573930.jpg","event_title":"「Hello 798」798原创IP形象征集大赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/c65c5e1695a000000158aa97eb3f.jpg","event_title":"拔刀吧！为了凌魂少女-华凌空调凌魂少女形象设计大赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/64935df08d720000016a683cbe76.jpg","event_title":"「OPPO耳机真有一套」OPPO Enco Free耳机套设计大赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/a3835dee0b710000016a68f9a210.jpg","event_title":"e域之城 巴士载梦 比亚迪创意插画征集大赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""},{"objImg":"https://img.zcool.cn/community/event_cover/7a365e4cf8d900000112866b1f7d.jpg","event_title":"Ctrl+Z创力复原·Z+惠普能量赛","tongjiBar_state":"已结束","tongjiBar_view":"","tongjiBar_pic":""}]
		var buffer = '';
		var container = document.querySelector('.container');
		for(var i = 0; i < info.length; i ++){
			buffer += createCard(info[i].objImg, info[i].event_title, info[i].tongjiBar_state, info[i].tongjiBar_view,info[i].tongjiBar_pic)
		}
		window.onload = function() {
			container.innerHTML = buffer;
		}

		function createCard(objImg, event_title, tongjiBar_state, tongjiBar_view,tongjiBar_pic){
			return `
			<div class="card">
			<a href="#">
				<img src="${objImg}">
			</a>
			<a href="#" class="card-text">${event_title}</a>
			<div class="detail-wrap">
				<div class="detail">
					<p>${tongjiBar_state}</p>
					<div class="icon">
						<i class="iconfont icon-yanjing"><span>33059</span></i>
						<i class="iconfont icon-photofromall"><span>184</span></i>
					</div>
				</div>
			</div>
		</div>
			`
		}
	</script>
</html>
